/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  text-align: right;
  direction: rtl;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #ffffff;
  border-bottom: 2px solid #ddd;
}

.logo img {
  width: 100px;
  height: auto;
  
}

.center-text {
  text-align: center;
}

.center-text h1 {
  font-size: 28px;
  font-weight: bold;
  color: #389c54;
}

.center-text h2 {
  font-size: 18px;
  color: #555;
}

.center-text p {
  font-size: 14px;
  color: #777;
}


/* Navigation */
.navbar {
  background-color: #003366;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.navbar a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 14px;
}

.navbar a:hover {
  background-color: #0055a5;
}

/* Hero Section */
.hero {
  background-color: #eef3f8;
  padding: 30px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 10px;
}

.hero p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* Content Section */
.content-section {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

.section-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-box .btn {
  display: block;
  padding: 12px 20px;
  background-color: #28a745;
  color: white;
  text-align: center;
  font-size: 16px;
  border-radius: 6px;
  margin: 10px auto 20px;
  width: fit-content;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.section-box .btn:hover {
  background-color: #0056b3;
}

.section-box p {
  text-align: justify;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Download Buttons */
.download-btn {
  display: block;
  padding: 10px 20px;
  background-color: #003366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin: 10px auto;
  text-align: center;
  width: fit-content;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #0055a5;
}

/* Footer */
.footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .center-text h1 {
    font-size: 20px;
  }

  .center-text h2,
  .center-text p {
    font-size: 13px;
  }

  .hero h2 {
    font-size: 16px;
  }

  .section-box p {
    font-size: 13px;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .center-text h1 {
    font-size: 24px;
  }

  .center-text h2 {
    font-size: 16px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .section-box p {
    font-size: 14px;
  }
}

@media (min-width: 993px) {
  .center-text h1 {
    font-size: 28px;
  }

  .center-text h2 {
    font-size: 18px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .section-box p {
    font-size: 16px;
  }
}
/* زر التقديم */
.apply-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ff6f61; /* لون جذاب ومميز */
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.apply-btn:hover {
  background-color: #e65b4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
/* للهواتف الذكية */
@media (max-width: 768px) {
  .center-text h1 {
    font-size: 20px;
  }

  .hero h2 {
    font-size: 16px;
  }

  .section-box p {
    font-size: 13px;
  }
}

/* للأجهزة اللوحية */
@media (min-width: 769px) and (max-width: 992px) {
  .center-text h1 {
    font-size: 24px;
  }

  .section-box p {
    font-size: 14px;
  }
}

/* للحواسيب */
@media (min-width: 993px) {
  .center-text h1 {
    font-size: 28px;
  }

  .section-box p {
    font-size: 16px;
  }
}